package com.zh.equipment.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.zh.equipment.dao.DeviceBindingRelaDao;
import com.zh.equipment.domain.DeviceBindingRelaDO;
import com.zh.equipment.service.DeviceBindingRelaService;



@Service
public class DeviceBindingRelaServiceImpl implements DeviceBindingRelaService {
	@Autowired
	private DeviceBindingRelaDao deviceBindingRelaDao;
	
	@Override
	public DeviceBindingRelaDO get(Integer id){
		return deviceBindingRelaDao.get(id);
	}
	
	@Override
	public List<DeviceBindingRelaDO> list(Map<String, Object> map){
		return deviceBindingRelaDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return deviceBindingRelaDao.count(map);
	}
	
	@Override
	public int save(DeviceBindingRelaDO deviceBindingRela){
		return deviceBindingRelaDao.save(deviceBindingRela);
	}
	
	@Override
	public int update(DeviceBindingRelaDO deviceBindingRela){
		return deviceBindingRelaDao.update(deviceBindingRela);
	}
	
	@Override
	public int remove(Integer id){
		return deviceBindingRelaDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return deviceBindingRelaDao.batchRemove(ids);
	}
	
}
